/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/* nixonFTP
 * FTP client version 0.1
 * Copyright (C) 2010 NIXON Development Corporation.
 * All rights reserved.
 * http://members.shaw.ca/nixon.com
 */
package nixonftp.ui;

import nixonftp.*;
import javax.swing.Icon;
import javax.swing.JLabel;

public class NXCrumb extends JLabel {
	public String dir;
	public boolean first;

	public NXCrumb(String s, String dir) {
		super(s);
		Icon icon = (dir.equals("")) ? NXIcon.small[3] : NXIcon.small[2];
		setIcon(icon);
		setIconTextGap(8);
		this.dir = dir;
	}
}
